<?php echo $html->css('/infos/css/page/other');?>
<?php 
$infos = ClassRegistry::init('infos.Info')->find('all', array(
    'conditions'	=> array(
        'is_published'   => 1,
	),
    'fields'    =>  array('title', 'description', 'alias', 'created', 'image'),
	'limit'		=> 5,
	'order'		=> 'created desc',
	//'contain'		=> array()
));
?>

<h4 class="articles"><?php  __('Các thông tin về đá muối');?></h4>
<div class="wd-info">
	<ul class="wd-list-category">
    <?php foreach($infos as $item): ?>
        <li>
            <a href="<?php echo $html->url(array('plugin' => 'infos', 'controller' => 'infos', 'action' => 'view', $item['Info']['alias']));?>"><img class="wd-img-infos" src="<?php if($item['Info']['image']) echo $html->url('/').'files/infos/'.$html->getThumbnailName($item['Info']['image']); else echo $html->url('/files/infos/no-picture.jpg');?>" alt=""/></a>
            <div class="wd-sub-title"><h3 class="wd-st1"><a href="<?php echo $html->url(array('plugin' => 'infos', 'controller' => 'infos', 'action' => 'view', $item['Info']['alias']));?>"><?php echo $this->text->new_truncate($item['Info']['title'], 35)?></a></h3></div>
            <p><?php echo $this->text->new_truncate(strip_tags($item['Info']['description']), 100); ?></p>
        </li>
    <?php endforeach; ?>
    </ul>
 </div>